package org.crud4j.portlet;

/**
 * @author Edgar Poce
 */
public enum CrudAction {

	DEFAULT("browse.jsp"), NEW("edit.jsp"), BROWSE("browse.jsp"), FILTERED_BROWSE(
			"browse.jsp"), EDIT("edit.jsp"), PERSIST("view.jsp"), VIEW(
			"view.jsp"), REMOVE("browse.jsp"), SCROLL_PAGE("browse.jsp");

	private String view;

	private CrudAction(String view) {
		this.view = view;
	}

	/**
	 * @return Returns the view.
	 */
	public String getView() {
		return view;
	}

}
